| Einhugur Word Plugin for Objo |
|
Einhugur.Word.Run Class
The run class represents single styling context within a paragraph. The Run carries the text parts and the styling info.
Einhugur.Word.ParagraphItem
Einhugur.Word.Run
class Einhugur.Word.Run
Properties
Bold | If set to true then text in the Run has Bold style. |
Caps | Sets or gets the text caps (None, Caps or Smallcaps) |
ComplexRunFieldData | Returns extra data for a complex run field. |
ComplexRunPartCount | Returns number of parts in the current complex run if the run is part of a complex run. |
ComplexRunPartType | Returns the type of the field which the complex run carries if the run is a complex run. |
Drawing | Gets drawing object from the Run. |
FieldSeparator | Returns info on if the run is field separator. |
FieldSeparatorLock | Returns true if the field separator has lock on it. |
HasTextColor | Returns true if the Run has TextColor on it. |
HasUnderlineColor | Returns true if Underline in the Run has color on it, else false. |
HighlightColor | Sets or gets the highlight color in the Run. |
InstrText | Used to read special info, mostly for legacy versions of the Word file format. For example then old versions of the file format can store hyperlinks here instead of in hyperlink object. |
IsDrawing | Returns true if the run object is Drawing, else false. |
IsPageBreak | Returns true if the run object is a page break, else false. |
IsShape | Returns true if the run object is a shape, else false. |
Italic | If set to true then text on the Run has Italic style. |
LanguageCode | Sets or gets language code for the Run. For example de-DE for Germany, is-IS for Iceland, en-US for English American, etc) |
Shape | Returns the shape object of the Run if the Run is a shape, else nil is returned. |
Spacing | Sets or gets character spacing for the Run. |
Strikethrough | Sets or gets strike through style. |
Style | Sets or gets predefined CharacterStyle for the Run. When reading then nil will be returned no character style has been set. |
TabSegmentCount | Returns number of Tab segments in the Run. |
Text | Text which the run carries. |
TextColor | Color for the text on the Run. |
Underline | Sets or gets the underline style. |
UnderlineColor | Returns color of the Underline or black if there is no color or is no underline. |
VerticalAlignment | Sets or gets vertical alignment which is basically subscript and superscript. |
Methods
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 64 bitWindows ARM 64 bitLinux 64 bitLinux ARM 64 bit